package com.scpii.universal.pns.entity;

import java.util.Date;

/**
 * EcProduct entity. @author MyEclipse Persistence Tools
 */

public class EcProduct implements java.io.Serializable {

	// Fields

	private static final long serialVersionUID = -6442212271783975830L;
	private Long id;
	private Long appId;
	private Long catId;
	private String title;
	private String summary;
	private String body;
	private Double listPrice;
	private Double price;
	private Integer storeQuantity;
	private Short sortOrders;
	private String thumbImage;
	private Short isReal;
	private Short paymentType;
	private Integer giveUserPoints;
	private Double ratingAvg;
	private Boolean publish;
	private Long reviewsCount;
	private Long orderCount;
	private Long favCount;
	private Long commentCount;
	private Date createDt;
	private String createBy;
	private Date updateDt;
	private String updateBy;
	private String columnAlias;
	public static final String COLUMN_ALIAS="{\"favCount\":\"收藏人气\",\"ratingAvg\":\"平均分\",\"price\":\"销售价\",\"listPrice\":\"市场价\",\"commentCount\":\"评论数\",\"reviewsCount\":\"访问量\",\"orderCount\":\"订单数\"}";

	// Constructors

	/** default constructor */
	public EcProduct() {
	}

	/** minimal constructor */
	public EcProduct(Long appId, Long catId, String title, Double price,
			String thumbImage, Short isReal, Short paymentType,
			Boolean publish) {
		this.appId = appId;
		this.catId = catId;
		this.title = title;
		this.price = price;
		this.thumbImage = thumbImage;
		this.isReal = isReal;
		this.paymentType = paymentType;
		this.publish = publish;
	}

	/** full constructor */
	public EcProduct(Long appId, Long catId, String title, String summary,
			String body, Double listPrice, Double price, Integer storeQuantity,
			Short sortOrders, String thumbImage, Short isReal,
			Short paymentType, Integer giveUserPoints, Double ratingAvg,
			Boolean publish, Long reviewsCount, Long orderCount, Long favCount,
			Long commentCount, Date createDt, String createBy,
			Date updateDt, String updateBy, String columnAlias) {
		this.appId = appId;
		this.catId = catId;
		this.title = title;
		this.summary = summary;
		this.body = body;
		this.listPrice = listPrice;
		this.price = price;
		this.storeQuantity = storeQuantity;
		this.sortOrders = sortOrders;
		this.thumbImage = thumbImage;
		this.isReal = isReal;
		this.paymentType = paymentType;
		this.giveUserPoints = giveUserPoints;
		this.ratingAvg = ratingAvg;
		this.publish = publish;
		this.reviewsCount = reviewsCount;
		this.orderCount = orderCount;
		this.favCount = favCount;
		this.commentCount = commentCount;
		this.createDt = createDt;
		this.createBy = createBy;
		this.updateDt = updateDt;
		this.updateBy = updateBy;
		this.columnAlias = columnAlias;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getAppId() {
		return this.appId;
	}

	public void setAppId(Long appId) {
		this.appId = appId;
	}

	public Long getCatId() {
		return this.catId;
	}

	public void setCatId(Long catId) {
		this.catId = catId;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSummary() {
		return this.summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getBody() {
		return this.body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public Double getListPrice() {
		return this.listPrice;
	}

	public void setListPrice(Double listPrice) {
		this.listPrice = listPrice;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getStoreQuantity() {
		return this.storeQuantity;
	}

	public void setStoreQuantity(Integer storeQuantity) {
		this.storeQuantity = storeQuantity;
	}

	public Short getSortOrders() {
		return this.sortOrders;
	}

	public void setSortOrders(Short sortOrders) {
		this.sortOrders = sortOrders;
	}

	public String getThumbImage() {
		return this.thumbImage;
	}

	public void setThumbImage(String thumbImage) {
		this.thumbImage = thumbImage;
	}

	public Short getIsReal() {
		return this.isReal;
	}

	public void setIsReal(Short isReal) {
		this.isReal = isReal;
	}

	public Short getPaymentType() {
		return this.paymentType;
	}

	public void setPaymentType(Short paymentType) {
		this.paymentType = paymentType;
	}

	public Integer getGiveUserPoints() {
		return this.giveUserPoints;
	}

	public void setGiveUserPoints(Integer giveUserPoints) {
		this.giveUserPoints = giveUserPoints;
	}

	public Double getRatingAvg() {
		return this.ratingAvg;
	}

	public void setRatingAvg(Double ratingAvg) {
		this.ratingAvg = ratingAvg;
	}

	public Boolean getPublish() {
		return this.publish;
	}

	public void setPublish(Boolean publish) {
		this.publish = publish;
	}

	public Long getReviewsCount() {
		return this.reviewsCount;
	}

	public void setReviewsCount(Long reviewsCount) {
		this.reviewsCount = reviewsCount;
	}

	public Long getOrderCount() {
		return this.orderCount;
	}

	public void setOrderCount(Long orderCount) {
		this.orderCount = orderCount;
	}

	public Long getFavCount() {
		return this.favCount;
	}

	public void setFavCount(Long favCount) {
		this.favCount = favCount;
	}

	public Long getCommentCount() {
		return this.commentCount;
	}

	public void setCommentCount(Long commentCount) {
		this.commentCount = commentCount;
	}

	public Date getCreateDt() {
		return this.createDt;
	}

	public void setCreateDt(Date createDt) {
		this.createDt = createDt;
	}

	public String getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Date getUpdateDt() {
		return this.updateDt;
	}

	public void setUpdateDt(Date updateDt) {
		this.updateDt = updateDt;
	}

	public String getUpdateBy() {
		return this.updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public String getColumnAlias() {
		return this.columnAlias;
	}

	public void setColumnAlias(String columnAlias) {
		this.columnAlias = columnAlias;
	}

}